fixing scroll behaviour