make top and botto menu bars change opacity based on position of scroll bar