Allow toolbar to be hidden
Move event stopping + button blurring and toolbar toggling into their own functions to reduce duplicate code