Added horizontal alignment
added positioning optimization
finalized mouseBoxes