updated with no jquery and added gradient