added mouse functions to manipulate scene