fixed banner func on mobile