Start of code for the mouse position view