Templatize bottomnav and make better navigation

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>