fix animations to work forward and backward
make modal directive
make modals