Updated style in frontend and added new js function for mousedown event