updated for upwards and downwards animation of ul lis
updated for 3div animations