move css to file and re-org gif