Wandering Cubes - Reduce markup

Every browser that supports CSS animations also supports :before and :after pseudo-elements. So to avoid unnecessary markup we can remove the inner divs and use these elements instead. Pull request follows.