Updated style and added snapping keys