Fixed output and added jquery animation