doing the battery animation and reworking css