fix scroll behaviour