autoscroll and top menu button