Better animation method - better than using jquery