Making the faux buttons act like buttons onmousedown and onmouseup