tried to do it all in css3. found a very inefficient solution. use jquery instead