Delete function
Added javascript form animation for posts