scroll to prev or next layer