Thanks @DBear
this is a very basic code but it works well.
you can change direction and speed
$(window).scroll(function(e){
parallax();
});
function parallax(){
var scrolled = $(window).scrollTop();
$('.parallax').css('margin-top',-(scrolled*0.25)+'px');
}