Combined superfluous css properties, remoed duplicate code, reformatted css and added smoothness to hand transitions