adjusted style, script, and html to allow for the switching of the arrow with using addClass and removeClass.