creating epileptic navigation bar