Fixed bug with entering study mode when stack is empty. jScrollPane() is now called whenever the menu is opened, so that a scrollbar will appear when needed. Previously, a scrollbar would not always appear when transitioning from study mode to edit mode.