externalized css and added sidebar animation