ADDED MOUSELOCKED FUNCTIONALITY